package com.itheima.test;

/**
 * @author Yao
 * @date 2020/6/22 0022
 **/
public abstract class Fu {
    String name;
    int age;

    public abstract void say();
    @Override
    public String toString() {
        return "Fu{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Fu(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Fu() {
    }
}
